import request from '@/utils/request'
// 获取自身及下级分公司
export const getzhuzhiapi = () => request.get('pio-microservice-biz/cbm/organization/manage/list')
// 根据管理单位查询厂站信息的列表
export const getcangzhanapi=params=>request.get('pio-microservice-biz/pio/common/factorystation/list', { params })
// 查询电务公司基本情况
export const getjibenapi = params => request.get('pio-microservice-biz/pio/home/buro/base', { params })
// 查询电务公司终端情况
export const getzhongdapi = params => request.get('pio-microservice-biz/pio/home/buro/terminal', { params })

export const getgaojingapi = params => request.get('pio-microservice-biz/pio/home/buro/alarm', { params })
// 查询电务公司负荷情况
export const getfuheapi = params => request.get('pio-microservice-biz/pio/home/buro/load', { params })
// 查询电务公司电量情况
export const getyongdianapi = params => request.get('pio-microservice-biz/pio/home/buro/epower', { params })
// 查询电务公司工单情况
export const getgongdanapi = params => request.get('pio-microservice-biz/pio/home/buro/workorder', { params })
// 查询电务公司当前总负荷情况
export const getzongfuheapi = params => request.get('pio-microservice-biz/pio/home/buro/cur/load', { params })
// 获取当前登录人单位信息
export const getloginuserapi = () => request.get('pio-microservice-biz/pio/common/user/org')
// 获取用户下拉菜单
export const getyonghuxialaapi = () => request.get('pio-microservice-biz/cbm/organization/company/list')